Least squares regression
#incomplete